<!DOCTYPE html>
<html>
<meta charset="utf-8">
<head th:include="include :: header"></head>

<body class="gray-bg">
	<div class="wrapper wrapper-content ">
		<div class="row">
			<div class="col-sm-12">
				<div class="ibox float-e-margins">
					<div class="ibox-content">
						<form class="form-horizontal m-t" id="signupForm">
							<div class="form-group">
								<label class="col-sm-3 control-label">组名：</label>
								<div class="col-sm-8">
									<input id="idz" name="id" type="hidden" th:value="${userGroup.id}">
									<input id="name" name="name" class="form-control" type="text" th:value="${userGroup.name}">
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">已选人员：</label>
								<div class="col-sm-8">
									<button type="button" onclick="selUser()" class="layui-btn layui-btn-sm layui-btn-normal mb10">选择用户</button>
									<input id="userOldIds" type="hidden" th:value="${userGroup.userIds}">
									<div id="ryId" class="ycdiv">
									</div>
								</div>
							</div>

							<div class="form-group">
								<div class="col-sm-8 col-sm-offset-3">
									<button type="button" class="btn btn-primary" onclick="save()">提交</button>
								</div>
							</div>
						</form>
					</div>
				</div>
			</div>
		</div>

	</div>
	<div th:include="include::footer"></div>
	<script type="text/javascript" th:src="${urls.getForLookupPath('/js/appjs/sys/userGroup/edit.js')}" src="/js/appjs/sys/userGroup/edit.js">
	</script>
</body>
</html>
